
// ChildView.h : interface of the CChildView class
//


#pragma once

class CCameraOcclusion;

// CChildView window

class CChildView : public CWnd
{
// Construction
public:
	CChildView();

// Attributes
public:

// Operations
public:
	HRESULT SetDevice(IMFActivate* pActivate);
	HRESULT CloseDevice();

// Overrides
protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// Implementation
public:
	virtual ~CChildView();

	// Generated message map functions
protected:
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnFileChoosedevice();
	afx_msg void OnEditPrivacy();

	DECLARE_MESSAGE_MAP()

protected:
#if SUPPORTTED_OCCLUSION_STATES
	CCameraOcclusion* m_pCameraOcclusion;
	WCHAR* m_pwszSymbolicLink;
	UINT32 m_cchSymbolicLink;
#endif
};

